package com.zhouxiaoge.职责链模式.two;

/**
 * @author 周小哥 gqzmy@163.com 2022/10/8 13:54
 */

public class Son extends Handler {
    public Son(int level) {
        super(level);
    }

    @Override
    public void response(IWomen iWomen) {
        System.out.println("--------母亲向儿子请示-------");
        System.out.println(iWomen.getRequest());
        System.out.println("儿子的答复是：同意\n");
    }
}
